package com.edu.whty.common.tools;


public class SpringBeanFactory {
	
	
	
	//private static ApplicationContext applicationContext = null;
	
	//private static String DEFAULT_CONTEXT_CONFIG_FILE = "spring/applicationContext-*.xml";
	
	private SpringBeanFactory() {}
	
/*
	static {
		applicationContext = new ClassPathXmlApplicationContext(new String[]{"spring/applicationContext-aop.xml","spring/applicationContext-common.xml","spring/applicationContext-ibatis.xml","spring/applicationContext-redis.xml"});
		
	}*/
	
	

	
	public static Object getBean(String name) {
		return ApplicationUtil.getBean(name);
	}

}
